﻿@model LERP.Web.Controllers.ViewModels.GoodsCategoryViewModels.GoodsCategoryViewModel
@{
    ViewBag.Title = "修改货品类别";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>基本信息 </legend>
        <ul class="list_form">
        
            <li>
                @Html.LabelFor(model => model.DictionaryText)   
                @Html.TextBoxFor(model => model.DictionaryText, new { @class = "text-long" }) 
                @Html.ValidationMessageFor(model => model.DictionaryText)
            </li>
            @if (Model.Level == 1)
            {
                <li>
                    @Html.LabelFor(model => model.ParentId)
                    @Model.ParentName
                    @Html.HiddenFor(model => model.ParentId)
                </li>
            }
          
            
            
            <li> @Html.LabelFor(model => model.Remark)   
                @Html.TextAreaFor(model => model.Remark, new {rows="1" ,cols="1"}) 
                @Html.ValidationMessageFor(model => model.Remark)</li>
        </ul>
    </fieldset>
    
    <input type="submit" class="button-submit" value="保存" />
  
    <br />
    <br />
    <br />
}

